package com.wing.order.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.order.model.entity.DistributionDemandDetail;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 配货需求计划明细表Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class DistributionDemandDetailForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 配货需求订单id
     */
    private Long demandId;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * 所属货道
     */
    private Long spaceId;

    /**
     * 货道容量
     */
    private Long spaceCapacity;

    /**
     * 产品图片
     */
    private String productUrl;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品SKU编号
     */
    private String skuCode;

    /**
     * 产品SKU id
     */
    private Long skuId;

    /**
     * 产品品牌
     */
    private Long brandId;

    /**
     * 当前库存
     */
    private Long curentStock;

    /**
     * 告警数
     */
    private Long alarmStock;

    /**
     * 计划补货
     */
    private Long planReplenishment;

    /**
     * 确认补货
     */
    private Long quantityConfirm;

    /**
     * 品牌
     */
    private String brandName;

    /**
     * 商品单位名称
     */
    private String unitName;

    /**
     * 车间名称
     */
    private String workshopName;

    /**
     * 商品单位id
     */
    private Long unitId;

    /**
     * 车间id
     */
    private Long workshopId;

    /**
     * 刀柜编号
     */
    private String cabCode;

    /**
     * 产品规格
     */
    private String productSpecCode;

    /**
     * 产品规格id
     */
    private Long productSpecId;

    /**
     * 明细货值
     */
    private BigDecimal totalDetail;

    /**
     * 计划id
     */
    private Long planId;


    public interface Add{}

    public interface Update{}

    private DistributionDemandDetail.Status status;


    private String skuSpec;


    private String skuSpecValueNames;

    private String skuName;

//    private String skuId;

//    private Long unitId;

//    private String unitName;

    private BigDecimal price;

//    private Long brandId;
//
//    private String brandName;


    private Long currentStock;

//    private Long alarmStock;

    private Long replenishmentNum;

    private BigDecimal total;

}
